gettimeofday
Get the current time (minutes, seconds, microseconds)
gettimeofday()
function returns the current time.
Return to the current time:
<?php // Output the array returned by gettimeofday() print_r ( gettimeofday ( ) ) ; // Output the floating point number returned by gettimeofday() echo gettimeofday ( true ) ; ?>
Try it yourself
gettimeofday ( return_float ) ;
parameter | describe |
---|---|
return_float | Optional. When set to TRUE, a floating point number is returned, not an array. The default is FALSE. |